package com.limanyik.family.security;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(value = {"com.limanyik.family.security", "com.limanyik.family.common"})
@MapperScan({"com.limanyik.family.security.mapper"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.limanyik.family.common.feign", "com.limanyik.family.common.feign.hystrix"})
public class FamilySecurityApplication {

    public static void main(String[] args) {
        SpringApplication.run(FamilySecurityApplication.class, args);
    }

}
